'use strict'

const { Service } = require('egg')

class IndexService extends Service {
  async find(name) {
    return await this.ctx.model.Default.find({ name })
  }

}

module.exports = IndexService
